

package jetbrains.buildServer.server.graphql.model.mutation;

import jetbrains.buildServer.server.graphql.model.CloudImage;
import jetbrains.buildServer.server.graphql.model.agentPool.AgentPool;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public class MoveCloudImageToAgentPoolPayload {
  @Nullable
  private final CloudImage myCloudImage;

  @Nullable
  private final AgentPool mySourceAgentPool;

  @Nullable
  private final AgentPool myTargetAgentPool;

  public MoveCloudImageToAgentPoolPayload(@Nullable CloudImage cloudImage, @Nullable AgentPool sourceAgentPool, @Nullable AgentPool targetAgentPool) {
    myCloudImage = cloudImage;
    mySourceAgentPool = sourceAgentPool;
    myTargetAgentPool = targetAgentPool;
  }

  @Nullable
  public CloudImage getCloudImage() {
    return myCloudImage;
  }

  @Nullable
  public AgentPool getSourceAgentPool() {
    return mySourceAgentPool;
  }

  @Nullable
  public AgentPool getTargetAgentPool() {
    return myTargetAgentPool;
  }
}